<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Get a binary dump of the given files and user variables</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.apc-add.html">apc_add</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.apc-bin-dumpfile.html">apc_bin_dumpfile</a></div>
 <div class="up"><a href="ref.apc.html">APC 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.apc-bin-dump" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">apc_bin_dump</h1>
  <p class="verinfo">(PECL apc &gt;= 3.1.4)</p><p class="refpurpose"><span class="refname">apc_bin_dump</span> &mdash; <span class="dc-title">Get a binary dump of the given files and user variables</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.apc-bin-dump-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>apc_bin_dump</strong></span>
    ([ <span class="methodparam"><span class="type">array</span> <code class="parameter">$files</code><span class="initializer"> = NULL</span></span>
   [, <span class="methodparam"><span class="type">array</span> <code class="parameter">$user_vars</code><span class="initializer"> = NULL</span></span>
  ]] )</div>

  <p class="para rdfs-comment">
   Returns a binary dump of the given files and user variables from the APC cache.
   A <strong><code>NULL</code></strong> for files or user_vars signals a dump of every entry, whereas array() will dump
   nothing.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.apc-bin-dump-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<em><code class="parameter">files</code></em></dt>

    <dd>

     <p class="para">
      The files. Passing in <strong><code>NULL</code></strong> signals a dump of every entry, while
      passing in <span class="function"><a href="function.array.html" class="function">array()</a></span> will dump nothing.
     </p>
    </dd>

   
   
    <dt>
<em><code class="parameter">user_vars</code></em></dt>

    <dd>

     <p class="para">
      The user vars. Passing in <strong><code>NULL</code></strong> signals a dump of every entry, while
      passing in <span class="function"><a href="function.array.html" class="function">array()</a></span> will dump nothing.
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.apc-bin-dump-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns a binary dump of the given files and user variables from the APC cache,
   <strong><code>FALSE</code></strong> if APC is not enabled, or <strong><code>NULL</code></strong> if an unknown error is encountered.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.apc-bin-dump-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="function"><a href="function.apc-bin-dumpfile.html" class="function" rel="rdfs-seeAlso">apc_bin_dumpfile()</a> - Output a binary dump of cached files and user variables to a file</span></li>
   <li class="member"><span class="function"><a href="function.apc-bin-load.html" class="function" rel="rdfs-seeAlso">apc_bin_load()</a> - Load a binary dump into the APC file/user cache</span></li>
  </ul>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.apc-add.html">apc_add</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.apc-bin-dumpfile.html">apc_bin_dumpfile</a></div>
 <div class="up"><a href="ref.apc.html">APC 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
